package com.zabra.zl.ui.detailsallocatin.model;

import com.zabra.zl.data.SimpleBean;
import com.zabra.zl.net.RetrofitClient;
import com.zabra.zl.ui.detailsallocatin.contract.DetailsAllocationContract;

import retrofit2.Call;

public class DetailsAllocationModel implements DetailsAllocationContract.Model {
    @Override
    public Call<SimpleBean> getAddCashData(int bpOrderId, String money) {
        return RetrofitClient.getInstance().getApi().getAddCashData(bpOrderId, money);
    }

    @Override
    public Call<SimpleBean> getOverDealData(int bpOrderId) {
        return RetrofitClient.getInstance().getApi().getOverDealData(bpOrderId);
    }
}
